package com.megvii.koala.net.login;

import com.megvii.corelib.net.RequestParam;
import com.megvii.corelib.net.request.MegviiRequest;
import com.megvii.koala.constance.DeviceType;
import com.megvii.koala.net.Commands;

/**
 * Created by linyue on 16/1/5.
 */
public class PadLoginRequest implements MegviiRequest
{
    @RequestParam
    public String username;

    @RequestParam
    public String password;

    @RequestParam
    public String pad_id;

    /**
     * {@link DeviceType} 中的常量
     */
    @RequestParam
    public int device_type;

    public PadLoginRequest(String username, String password, String pad_id, int device_type)
    {
        super();
        this.username = username;
        this.password = password;
        this.pad_id = pad_id;
        this.device_type = device_type;
    }

    @Override
    public String getCommand()
    {
        return Commands.PAD_LOGIN;
    }
}
